import axios from "axios";
import request from "../../utils/request";

 export const login = async (params: {
    user_id: number;
    password: string;
  }) => {
    return request.post('/api/login', {...params});
    // return request.post('/login', {...params});
  };
